/* 版心1226px */
.container{
    width: 1226px;
    margin: 0 auto;
}
/* 头部广告 */
#top_adv{
    min-width: 1226px;
    height: 120px;
    position: relative;
}
#top_adv a{
    display: block;
    height: 100%;
    background: url("https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/49aa1df3471f88dd2235db8a40785977.jpg?w=5120&h=240");
    background-position: 50%;
    background-size: auto 120px;
}
/* 轮播图 */
#carousel{
    min-width: 1226px;
    height: 460px;
    margin-bottom: 15px;
}
.carousel{
    width: 100%;
    position: relative;
    height: 460px;
}
.carousel_ul li{
    opacity: 0;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 1.2s linear;
    width: 1226px;
    height: 460px;
}
#carousel .active{
    transition: 1.2s linear;
    opacity: 1;
    z-index: 1;
    background-color:rgba(255, 255, 255, 0.5);
}
.carousel_ul li a{
    display: block;
    width: 100%;
    height: 460px;
    position: absolute;
    top: 0;
    left: 0;
}
.carousel_ul li img{
    width: 100%;
    height: 460px;
}
/* 侧边栏 */
.sidebar{
    height: 100%;
    /* border: 1px solid #999; */
    box-shadow: 2px 2px 5px #999;
    position: absolute;
    left: 230px;
    /* width: 500px; */
    background: #fff;
    top: 0;
    z-index: 6;
    display: none;
}
.sidebar div{
    display: none;
}
.sidebar .bn{
    display: block;
}
.sidebar ul{
    float: left;
    z-index: 9;
}
.sidebar ul li{
    width: 209px;
    height: 35px;
    padding: 20px;
}
.sidebar ul li:hover a{
    color: orangered;
}
.sidebar ul li a{
    display: block;
    width: 225px;
    height: 35px;
}
.sidebar ul li a img{
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
/* 左右点击切换图片 */
.carousel .btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    font-size: 20px;
    color: #333;
    outline: none;
    transition: .5s;
    z-index: 5;
}
.carousel .btn:hover{
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}
.leftbtn{
    left: 229px;
    border-radius: 0 2px 2px 0;

}
.rightbtn{
    right: 0;
    border-radius: 2px 0 0 2px;
}
/* 防止多次点击 */
.noclick{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    width: 40px;
    height: 70px;
    transition: .5s;
    background: orangered;
    z-index: 6;
}
div.left{
    left: 229px;
    border-radius: 0 2px 2px 0;
}
div.right{
    right: 0;
    border-radius: 2px 0 0 2px ;
}
/* 小圆点 */
.carousel ol{
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 5;
}
.carousel ol li{
    width: 6px;
    height: 6px;
    border: 2px solid rgba(77,77,77,0.7);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    /* box-shadow: 2px 2px 3px 2px #424242 inset; */
    float: left;
    cursor: pointer;
    margin: auto 5px;
}

/* 官方推荐 */
    #introduce{
        min-width: 1226px;
        margin-bottom: 25px;
        height: 170px;
    }
    .intorduce{
        height: 170px;
        display: flex;
        justify-content: space-between;
    }
    .intorduce_link{
        width: 234px;
        border: 1px solid #424242;
        background: #5f5750;
        text-align: left;
        position: relative;
    }
    .intorduce_link ul{
        position: absolute;
        top: 0;
        left: 0;
        margin-top: 20px;
        margin-left: 10px;
        text-align: center;
    }
    .intorduce_link ul li{
       float: left;
       margin-top: 10px;
    }
    .intorduce_link .weilei ::before{
        content: '';
        display: block;
        width: 60px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        top: -10px;
        left: 5px;
    }
    .intorduce_link .shuxian ::after{
        content: '';
        display: block;
        height: 60px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        top: -50px;
    }
    .intorduce_link ul li a{
        display: block;
        width: 70px;
        height: 64px;
        text-align: center;
        font-size: 12px;
        opacity: 0.8;
    }
    .intorduce_link ul li a:hover{
        opacity: 1;
        color: white;
    }
    .intorduce_link img{
        display: block;
        width: 24px;
        height: 24px;
        margin-left:23px;
        margin-bottom: 5px;
        /* opacity: 0.7; */
    }
    .intorduce_img img{
        width: 319px;
        height: 170px;
    }


/* 商品区域 */
#main{
    min-width: 1226px;
    background: rgb(245,245,245);
    padding-bottom: 20px;
}
/* 秒杀外围 */
.miaosha_top{
    height: 60px;
    /* line-height: 60px; */
}
.miaosha_top p{
    float: left;
    font-size: 26px;
    font-weight: 100;
    line-height: 60px;
}
.ms_btnBox{
   float: right;
   width: 110px;
   line-height: 60px;
}
.ms_btnBox a{
    display: inline-block;
    width: 34px;
    height: 22px;
    font-size: 20px;
    border: 1px solid #e0e0e0;
    text-align: center;
    line-height: 22px;
}
/* 秒杀板块 */
.ms_row{
    height: 300px;
}
/* 秒杀场次 */
.times{
    padding-top: 40px;
    height: 260px;
    width: 234px;
    border-top: 1px solid orangered;
    text-align: center;
    background: rgb(241,237,237);
    position: relative;
    margin-right: 10px;
    float: left;
}
.sessios{
    display: block;
    font-size: 21px;
    color: #ef3a3b;
    margin-bottom: 30px;
}
.tips{
    font-size: 16px;
    color: rgba(77,77,77,0.7);
    margin-top: 30px;
}
.countdown{
    margin-top: 20px;
}
.countdown span{
    display: inline-block;
    width: 50px;
    height: 50px;
    background: sienna;
    text-align: center;
    font-size: 24px;
    color: #fff;
    line-height: 50px;
}
.countdown i{
    display: inline-block;
    width: 20px;
    font-size: 24px;
    position: relative;
}
/* 秒杀轮播图 */
.ms_carousel{
    height: 300px;
    width: 980px;
    float: left;
}
.ms_carousel_ul{
    height: 300px;
}
.ms_carousel_ul li{
    width: 234px;
    border-top: 1px solid orangered;
    float: left;
    margin-right: 10px;
}
/* 商品区域 */
.main_shop {
    margin-top: 20px;
}
.main_shop>a{
    display: block;
    width: 1226px;
    height: 120px;
    margin-top: 20px;
}
.common_top{
    height: 58px;
    line-height: 58px;
}
.common_top h2{
    font-size: 26px;
    font-weight: 200;
    float: left;
}
.seall{
    float: right;
    font-size: 18px;
    color: #000;
    transition: 0.5s;
}
.seall a{
    height: 45px;
    /* border-bottom: 2px solid orangered; */
    font-size: 16px;
    color: #000;
    float: left;
    margin-left: 25px;
    transition: 0.5s;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}
.seall:hover{
    color: orangered;
}
.seall a:hover{
    border-bottom: 2px solid orangered;
    color: orangered;
}
.seall:hover span{
    background: orangered;
}
.seall span{
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 16px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    background: #999;
    color: #fff;
    transition: 0.5s;
}
/* 相同部分的商品 */
.common_body{
    height: 615px;
}
.left_pic{
    float: left;
    height: 100%;
    width: 234px;
    margin-right: 15px;
}
.shop_list{
    float: left;
    width: 970px;
    height: 100%;
}
.shop_list>a{
    padding-top: 15px;
    text-align: center;
    /* display: inline-block; */
    width: 23%;
    height: 285px;
    background: #fff;
    float: left;
    margin-left: 19px;
    margin-bottom: 10px;
}
.shop_list a p:first-of-type{
    color: #000;
}
.shop_list a p:nth-of-type(2){
    font-size: 12px;
}
.price{
    color: orangered;
    margin-top: 5px;
}
/* 底部视频 */
.video_body{
    height: 300px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.video_body a{
    width: 285px;
    background: #fff;
    position: relative;
}
.video_body a:hover .video_btn{
    background: orangered;
    border-color: orangered;
}
.video_body a img{
    display: block;
    width: 100%;
    height: 180px;
    margin-bottom: 30px;
}
.video_btn{
    position: absolute;
    top: 140px;
    left: 20px;
    width: 30px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 15px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    transition: 0.5s;
}
.video_body h3{
    color: #000;
    font-size: 16px;
}
